//
//  UIColor+MCColor.m
//  TLYL
//
//  Created by miaocai on 2017/6/1.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "UIColor+MCColor.h"

@implementation UIColor (MCColor)
+ (UIColor *)randomColor{

    CGFloat r = arc4random()%255/255.0;
    CGFloat g = arc4random()%255/255.0;
    CGFloat b = arc4random()%255/255.0;
    CGFloat a = arc4random()%255/255.0;
    return [UIColor colorWithRed:r green:g blue:b alpha:a];
}
@end
